package mysql

import "gorm.io/gorm"

type TopicInfo struct {
	gorm.Model
	TopicName  string `gorm:"type:varchar(30);not null;comment:话题名称"`
	TopicIntro string `gorm:"type:text;not null;comment:话题描述"`
	HotLevel   int    `gorm:"type:int;comment:话题热度"`
}
